import request from '@/utils/request'

//  监管部门领导 -- 查询隐患初审列表
export function supLeaderQueryQuestion(params) {
  return request({
    url: '/business/defect/supLeader/queryQuestion',
    method: 'get',
    params
  })
}

//  获取隐患详情
export function supLeaderGetQuestionDetail(params) {
  return request({
    url: '/business/defect/supLeader/getQuestionDetail',
    method: 'get',
    params
  })
}

//  监管部门领导 -- 初审通过
export function supLeaderCheckOkQuestion(data) {
  return request({
    url: '/business/defect/supLeader/checkOkQuestion',
    method: 'post',
    data
  })
}

//  监管部门领导 -- 初审不通过
export function supLeaderCheckNoQuestion(data) {
  return request({
    url: '/business/defect/supLeader/checkNoQuestion',
    method: 'post',
    data
  })
}
